package com.showcai.service;

import com.github.pagehelper.PageInfo;
import com.showcai.module.Activity;
import com.showcai.myRunTime.MyRunTimeExcption;

import java.util.List;
import java.util.Map;

/**
 * Created by Baggio on 2018-12-4.
 */
public interface ActivityService {
    void modifyActivity(Activity activity) throws MyRunTimeExcption;
    Activity getActivityById(Long activityId) throws MyRunTimeExcption;
    List<Activity> getActivityListByIds(List<Long> activityIds) throws MyRunTimeExcption;
    List<Activity> getActivityListByType(Byte activityType) throws MyRunTimeExcption;
    PageInfo getActivityList(Map<String,String> map) throws MyRunTimeExcption;
}
